//
//  FKCommodityBottomView.h
//  HappyTest
//
//  Created by Macbook Pro on 2019/2/15.
//  Copyright © 2019 Macbook Pro. All rights reserved.
//

#import <UIKit/UIKit.h>
@class FKCommodityBottomView;

@protocol FKCommodityBottomViewDelegate <NSObject>
@optional
- (void)commodityBottomView:(FKCommodityBottomView *)view didClickedItemBtn:(UIButton *)btn;

- (void)commodityBottomView:(FKCommodityBottomView *)view didClickedBuyBtn:(UIButton *)btn;
- (void)commodityBottomView:(FKCommodityBottomView *)view didClickedShareBtn:(UIButton *)btn;
- (void)commodityBottomView:(FKCommodityBottomView *)view didClickedInviteBtn:(UIButton *)btn;
- (void)commodityBottomView:(FKCommodityBottomView *)view didClickedAddCartBtn:(UIButton *)btn;

@end


@interface FKCommodityBottomView : UIView

@property (nonatomic, weak) id<FKCommodityBottomViewDelegate> delegate;

/** 购物车内商品的数量 */
@property (nonatomic, copy) NSString *cartNum;
/** 是否是创业礼包 */
@property (nonatomic, assign, getter=isSpecial) BOOL special;
/** 是否是会员 */
@property (nonatomic, assign, getter=isMember) BOOL member;
/** 自买省的金额 */
@property (nonatomic, copy) NSString *cutPrice;
/** 分享赚的金额 */
@property (nonatomic, copy) NSString *sharePrice;
/** 更新按钮的标题 */
- (void)updateTitle;



@end

